package com.component.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName m_log
 */
@TableName(value ="m_log")
@Data
public class MLog implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 
     */
    private String logname;

    /**
     * 
     */
    private String url;

    /**
     * 
     */
    private String ip;

    /**
     * 
     */
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date createdate;

    /**
     * 
     */
    private String uid;

    /**
     * 
     */
    private String noteId;

    /**
     * 
     */
    private String title;

    /**
     * 
     */
    private String username;

    /**
     * 
     */
    private String realname;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}